<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<?php
include 'template01.html';
?>
<body>
	
		<div cass="clearboth"></div>
		
		<div class="foot clearboth">
			Copyright © 2014 Ideabank.<br />
			All rights reserved.
		</div><!--End of .foot-->
	</div><!--End of .sidebar-->
	<div class="container">
		 <div class="page_head">
                     <div class="text_filt">
                    <div class="left">
                        <b><span>LOG IN</span></b><br />
                        <span class="text_grey"><b><small>Please log in to continue</small></b></span><br /><br /><br />
                        <form action="loginSubmit.php" method="post">
                            <table cellspacing="0" cellpadding="0" class="textleft">
                                <tr>
                                    <td>USERNAME</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="Registered Email" onclick="this.value=''" name="userName"/></small></b></td>
                                </tr>
                                <tr>
                                    <td>PASSWORD</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="password" value="Password" onclick="this.value=''" name="password"/></small></b></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td></td>
                                    <td><i><small><span class="right text_red">Forgot username or password.</span></small></i></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td></td>
                                    <td  class="last" rowspan="2">
                                        <input type="submit" class="btn_red02 right" value="LOG IN!" name="login"/>
                                    </td>
                                </tr>
                            </table>
                            <?php if(isset($error['userName'])){ echo $error['userName']; } ?>
				<?php if (isset ($error[ 'password'])){echo $error['password'];}?>
                        </form>
                        </div><!--End of .login-->

                        <div class="nofloat" style="margin-left: 450px">
                            <b>New to Ideabank?</b><br />
                            <span class="text_grey"><b><small>Please spend some time to create an account.</small></b></span><br /><br /><br />
                            <table cellspacing="0"  cellpadding="0" class="textleft">
                                <tr>
                                    <td>FULLNAME</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="Full Name" onclick="this.value=''" name="fullname"/></small></b></td>
                                </tr>
                                <tr>
                                    <td>EMAIL</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="Email" onclick="this.value=''" name="email"/></small></b></td>
                                </tr>
                                 <tr>
                                    <td></td>
                                    <td></td>
                                    <td><i><small><span class="text_red">Re-enter Email</span></small></i></td>
                                </tr>
                                <tr>
                                     <td>EMAIL</td>
                                     <td>:</td>
                                     <td><b><small><input class="textbar text_grey" type="text" value="Email" onclick="this.value=''" name="re_email"/></small></b></td>
                                </tr>
                                <tr>
                                    <td>PASSWORD</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="Password" onclick="this.value=''" name="password"/></small></b></td>
                                </tr>
                                 <tr>
                                    <td></td>
                                    <td></td>
                                    <td><i><small><span class="text_red">Re-enter Password</span></small></i></td>
                                </tr>
                                 <tr>
                                    <td>PASSWORD</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="Password" onclick="this.value=''" name="re_password"/></small></b></td>
                                </tr>
                                <tr>
                                    <td>CONTACT</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="+65 91234123" onclick="this.value=''" name="contact"/></small></b></td>
                                </tr>
                                 <tr>
                                    <td>NRIC</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="S1234567X" onclick="this.value=''" name="nric"/></small></b></td>
                                </tr>
                                <tr>
                                    <td>MATRIX</td>
                                    <td>:</td>
                                    <td><b><small><input class="textbar text_grey" type="text" value="1206006G" onclick="this.value=''" name="matrix"/></small></b></td>
                                </tr>
                                    <tr>
                                    <td class="last" colspan="3"><small>By sining up,you agree to our <span class="text_red">terms of use </span> and <span class="text_red"> privacy policy</span></small></td>
                                </tr>
                                <tr>
                                    <td></td>
                                    <td></td>
                                    <td class="last" rowspan="2">
                                        <input type="submit" class="btn_red02 right" value="SIGN UP!"/>
                                    </td>
                                </tr>
                            </table>
                        </div><!--End of Registration-->
                        </div><!--End of .content-->
        </div><!--End of .page_head-->
	</div><!--End of .container-->
</body>
</html>

